//
//  UIEcgBackgroundView.h
//  DoubleECG
//
//  Created by Hawk on 2019/6/25.
//  Copyright © 2019 Hanmj. All rights reserved.
//

#import <TargetConditionals.h>

#if TARGET_OS_IOS
#import <UIKit/UIKit.h>
#else
#import <Cocoa/Cocoa.h>
#endif


NS_ASSUME_NONNULL_BEGIN
#if TARGET_OS_IOS
@interface UIECGBackgroundView : UIView{
    UIColor *background_color;
    UIColor *bg10mmColor;
    UIColor *bg5mmColor;
    UIColor *bg1mmColor;
#else
@interface NSECGBackgroundView : NSView{
    NSColor *background_color;
    NSColor *background_board_line_color;
    NSColor *background_strong_line_color;
    NSColor *background_weak_line_color;
#endif
    CGFloat bg10mmWidth;
    CGFloat bg5mmWidth;
    CGFloat bg1mmWidth;
    float pixPermm;             //多少像素单位点，表示一个mm距离 //default is 5.f
}

#if TARGET_OS_IOS
@property (nonatomic) UIColor *background_color;
@property (nonatomic) UIColor *bg10mmColor;
@property (nonatomic) UIColor *bg5mmColor;
@property (nonatomic) UIColor *bg1mmColor;
#else
@property (nonatomic) NSColor *background_color;
@property (nonatomic) NSColor *background_board_line_color;
@property (nonatomic) NSColor *background_strong_line_color;
@property (nonatomic) NSColor *background_weak_line_color;
#endif
@property (nonatomic) CGFloat bg10mmWidth;
@property (nonatomic) CGFloat bg5mmWidth;
@property (nonatomic) CGFloat bg1mmWidth;
@property (nonatomic) float pixPermm;
@end
NS_ASSUME_NONNULL_END
